package com.nutricia.common.api.info;

import java.util.List;

/**
 * 菜单树简单对象
 *
 * @author: huangsheng
 * @date: 2017 /10/24
 */
public class MenuTreeInfo {

    /**
     * 菜单ID
     */
    private String menuId;

    /**
     * 菜单名称
     */
    private String label;

    /**
     * 子菜单
     */
    private List<SubMenuTreeInfo> children;

    /**
     * 构造函数
     *
     * @param label 菜单名称
     */
    public MenuTreeInfo(String menuId, String label) {
        this.menuId = menuId;
        this.label = label;
    }

    public MenuTreeInfo() {
    }

    /**
     * Gets menu id.
     *
     * @return the menu id
     */
    public String getMenuId() {
        return menuId;
    }

    /**
     * Sets menu id.
     *
     * @param menuId the menu id
     */
    public void setMenuId(String menuId) {
        this.menuId = menuId;
    }

    /**
     * Gets label.
     *
     * @return the label
     */
    public String getLabel() {
        return label;
    }

    /**
     * Sets label.
     *
     * @param label the label
     */
    public void setLabel(String label) {
        this.label = label;
    }

    /**
     * Gets children.
     *
     * @return the children
     */
    public List<SubMenuTreeInfo> getChildren() {
        return children;
    }

    /**
     * Sets children.
     *
     * @param children the children
     */
    public void setChildren(List<SubMenuTreeInfo> children) {
        this.children = children;
    }
}
